package com.quanquan.management.request;

import lombok.Data;
import request.PageRequestBody;

/**
 * @ClassName:NoticeRequest
 * @Description:TODO
 * @Author:xiongjunbao
 * @Date:2019/4/1 15:33
 * @Version 1.0
 */
@Data
public class NoticeRequestBody extends PageRequestBody {

    private String id;

    /**
     * 发布时间
     */
    private String createTime;
    private String updateTime;

    /**
     * 开始显示时间
     */
    private String startTime;

    /**
     * 结束显示时间
     */
    private String endTime;
    /**
     * 公告标题
     */
    private String title;

    /**
     * 0 显示 1不显示
     */
    private Integer statusShow;

    /**
     * 0 未删除 1删除
     */
    private Integer statusRemove;

    /**
     * 公告内容
     */
    private String text;

    private String activityId;
    public NoticeRequestBody(Integer page, Integer size, String keyword, Integer type, String sort, boolean isAsc, String fromDate, String toDate) {
        super(page, size, keyword, type, sort, isAsc, fromDate, toDate);
    }

    public NoticeRequestBody(Integer page, Integer size, String sort, boolean isAsc) {
        super(page, size, sort, isAsc);
    }

    public NoticeRequestBody(Integer page, Integer size, String keyword, String sort, boolean isAsc) {
        super(page, size, keyword, sort, isAsc);
    }

    public NoticeRequestBody(){super();}

}
